#ifndef TRANSLATION_H
#define TRANSLATION_H

#include <QObject>
#include <QTranslator>
class Translation : public QObject
{
    Q_OBJECT

public:
    explicit Translation(QObject *parent = 0);

    void installLanguage(const QString &language, QTranslator *translator);

signals:
void languageChanged();
public slots:
    void selectLanguage(int index);
    QStringList supportedLanguage();
private:
    QTranslator *m_translatorEnglish;

};

#endif // TRANSLATION_H
